

<?php form_head("report/query_form","Query") ?>

<table class="list" style="width:100%;" >
  <tbody>
           

       <?php area_field("sql", "SQL TEXT", null,0,null,"width:800px;height:200px;"); ?>
    </tbody>
    </table>

 <?php form_footer("Run"); ?>
 <?php if(isset($result)){ echo $result;  } ?>